<ul>
    <li{% ifequal sort "newest" %} class='selected'{% endifequal %}><a href='{% url requests mode "newest" %}' class='sort_option'>most recent</a></li>
    <li{% ifequal sort "active" %} class='selected'{% endifequal %}><a href='{% url requests mode "active" %}' class='sort_option'>most active</a></li>
    <li{% ifequal sort "popular" %} class='selected'{% endifequal %}><a href='{% url requests mode "popular" %}' class='sort_option'>most popular</a></li>
</ul>
